package com.desgin.factory_mod.custom_abc;

/**
 * Created by zhaoshuai on 2017/4/10.
 */
public class Main {
    public static void main(String[] args){


        CustomPayFactory customPayFactory = new CustomPayFactory();
        System.out.println(customPayFactory.createAliPay().pay());
        System.out.println(customPayFactory.createWxPay().pay());
        System.out.println(customPayFactory.createQddPay().pay());
    }
}
